<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!--适口配置-->
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <!--引入bootstrap中的css文件-->
    <link rel="stylesheet" href="libs/bootstrap/css/bootstrap.css">
    <!--引入less文件-->
    <link rel="stylesheet" href="css/category_product_list.css">
    <link rel="stylesheet" href="css/common_section.css">
    <title>Title</title>
    <!-- 配置的模板需要注意:1、type必须是text/html  2、需要配置一个id -->
    <script type='text/html' id='product-list-template'>
        {{each result as value i}}
        <div class="media">
            <div class="media-left"]>
                <a href="category_product_detail.html?myid={{value.productId}}">
                    {{#value.productImg}}
                </a>
            </div>
            <div class="media-body">
                <div class="normal-info">
                    <span class="product-name">{{value.productName}}</span>
                    <span class="product-price">{{value.productPrice}}</span>
                </div>
                <div class="other-info">
                    <span class="from-time">{{value.productQuote}}</span>
                    <span class="comment">{{value.productCom}}</span>
                </div>
            </div>
        </div>
        {{/each}}
    </script>

</head>
<body>
<header id="header"></header>
<section id="search"></section>
<section id="product">
    <div class="product-list">

    </div>
    <div class="product-page">
        <a  class='prev-page' href="#">上一页</a>
        <div class='ui-select'>
            <select></select>
        </div>
        <a  class='next-page' href="#">下一页</a>
    </div>
</section>
<footer id="footer"></footer>
</body>
<!--引入jquery文件-->
<script type="text/javascript" src='libs/jquery/jquery.js'></script>
<!--引入bootstrap中的js-->
<script type="text/javascript" src='libs/bootstrap/js/bootstrap.js'></script>
<!--引入魔板的js文件-->
<script type="text/javascript" src='libs/template/template.js'></script>
<!--引入这个界面的js-->
<script type="text/javascript" src="js/common_section.js"></script>
<script type="text/javascript" src='js/category_product_list.js'></script>
</html>